-
Home
-
Asaas Gateway for WooCommerce
-
2.7.1 (latest)
-
Code
-
Classes
- Webhook
| Total Complexity |
72 |
| Dependencies |
14 |
| Dependents |
3 |
| Total lines |
486 |
| Lines of code |
266 |
| Logical lines of code |
181 |
| Comment lines |
130 |
| Methods |
17 |
| Properties |
4 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| on_payment_created() |
B |
37 |
18 |
68 |
| process_event() |
A |
51 |
9 |
30 |
| process_payment() |
A |
52 |
9 |
21 |
| update_order_values_on_credit_card() |
S |
55 |
6 |
21 |
| on_payment_refunded() |
S |
54 |
5 |
20 |
| on_payment_confirmed() |
S |
55 |
4 |
18 |
| on_payment_overdue() |
S |
58 |
3 |
14 |
| on_payment_deleted() |
S |
60 |
3 |
13 |
| on_payment_restored() |
S |
60 |
3 |
13 |
| calculate_item_total() |
S |
67 |
2 |
8 |
| calculate_item_fee_value() |
S |
70 |
2 |
6 |
| on_payment_updated() |
S |
69 |
2 |
6 |
| set_order_discount() |
S |
67 |
2 |
8 |
| __construct() |
S |
66 |
1 |
8 |
| __get() |
S |
81 |
1 |
3 |
| add_item_fee_to_order() |
S |
71 |
1 |
6 |
| add_order_note() |
S |
79 |
1 |
3 |